package org.example.service.domain;

import me.zhyd.oauth.model.AuthCallback;
import me.zhyd.oauth.request.AuthRequest;
import org.example.domain.vo.LoginResultVo;

/**
 * @author YINDINGJIE
 */
public interface RestAuthService {

    String getAuthLinkUrl(String socialCode,Integer loginType);

    AuthRequest getAuthRequest(String socialCode,Integer loginType);

    LoginResultVo callback(AuthCallback callback, String socialCode,Integer loginType);
    
}
